Get all users' leave entries in Zoho People
Here is our approach for getting all users' leave entries in Zoho People

Approach
We can get all users' leave entries using Zoho People API
Method 1. Get all user's leave entries using "Custom Function"
Note: |
1. Method 1 helps you to get all users' leave entries using custom function in JSON format |
Step 1. Getting Authtoken
1.1 Tap on the link"https://accounts.zoho.com/apiauthtoken/create?SCOPE=zohopeople/peopleapi"

1.2 Copy the "Authtoken" generated

Step 2. Creating "Custom Function" for getting leave entries for all users'.
2.1 Go to "Setup"--->Tap on "Action" from "Automation"

2.2 Select "Custom Function"

2.3 Tap on the button "Add Custom Function"

2.4 Select the "Module" then paste the code here and execute it


Code Snippet
Method 2. Extract all users leave entries using export method
Note: |
1.Method 2 helps to extract all leave entries in a chosen file type using Export option available in Zoho Peoples |
Step 1. Exporting all leave entries
1.1 Tap on "Leave Tracker"

1.2 Tap on "Leave Applications"

1.3 Tap on "..."

1.4 Select "Export"

1.5 Choose the file type and tap on the button "Export"

1.6 All Leave entries is exported and downloaded as the chosen file type
